from django.urls import path
from apps.users.views import UsernameCountView, RegisterView, UsermobileView, LoginView, LogoutView, CenterView, EmailView, EmailVerifyView, UserHistoryView
from apps.users.views import AlterPasswordView
urlpatterns = {
    path('usernames/<username:username>/count/', UsernameCountView.as_view()),
    path('mobiles/<mobile>/count/', UsermobileView.as_view()),
    path('register/', RegisterView.as_view()),
    path('login/', LoginView.as_view()),
    path('logout/', LogoutView.as_view()),
    path('info/', CenterView.as_view()),
    path('emails/', EmailView.as_view()),
    path('emails/verification/', EmailVerifyView.as_view()),
    path('password/', AlterPasswordView.as_view()),
    path('browse_histories/', UserHistoryView.as_view()),
}
